<%@page import="com.carple.dto.Member"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <br /><br />

	<div id="weo">
		<!-- 상단 -->
		<div id="header" >
			<!-- 상단 메뉴 -->
			<div class="flt">
				<ul>
					<li class="flt"><a href="/carple/index.jsp"><img src="/carple/image/carple_main.gif" /></a></li>
				</ul>
			</div>

			<div class="flt" style="padding: 0 0 0 30px;">
				<img src="/carple/image/carpoolcuplepeople.png" /></a>
			</div>

			<div id="gnb">
				<ul class="frt" >
					<% Member member = (Member)session.getAttribute("loginuser"); %>
					<% if(member==null) {//로그인 하지 않은 경우 %>
					<li class="flt" style="margin-left:10px"><a href="/carple/account/loginform.action"	onFocus="this.blur()"><img src="/carple/image/login_btn.gif"/></a></li>
					<li class="flt" style="margin-left:10px"><a href="/carple/member/registerform.action"><img src="/carple/image/membership.png"/></a></li>
					<% }else { %>
					<li class="flt" ><a href="/carple/member/modifyform.action"	onFocus="this.blur()"><div style="font-size:19px;font-weight:bolder;color:navy;"><%= member.getNickName()%></div></a></li>
					<li class="flt" ><a href="/carple/account/logout.action"	onFocus="this.blur()"><img src="/carple/image/welcome.png" /></a></li>
					<li class="flt" style="margin-left:10px"><a href="/carple/account/logout.action"	onFocus="this.blur()"><img src="/carple/image/btn_logout.gif" /></a></li>
					<li class="flt" style="margin-left:10px"><a href="/carple/carsharing/registerform.action"	onFocus="this.blur()"><img src="/carple/image/btn_myjj.png" /></a></li>
					<li class="flt" style="margin-left:10px"><a href="/carple/member/modifyform.action" onFocus="this.blur()"><img src="/carple/image/myjjang_left_cat_12.png" /></a></li>
					<% } %>
				</ul>
				<br /><br />
				<ul class="gnb_mn">
					<li class="flt" style="float:right" ><a href="/carple/loveboard/list.action" onFocus="this.blur()" >
					<img src="/carple/image/love.png?1002" /></a></li>
					<!--"view.action"으로 이동 -->
					<li class="flt" style="float:right" ><a href="/carple/board/list.action" onFocus="this.blur()" >
					<img src="/carple/image/together.png?1002" /></a></li>
					<!--"/carsharing/registerform.action"으로 이동 -->	
					<li class="flt" style="float:right" ><a	href="/carple/carsharing/registerform.action" onFocus="this.blur()" >
					<img src="/carple/image/myway.png?1002" /></a></li>
				</ul>
			</div>
		</div>
	</div>
	<br /><br />